package com.ctsi.canal.starter.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * canal简单客户端配置类
 *
 * @author ajh
 * @date 2019/10/24 15:24
 **/
@ConfigurationProperties(prefix = SimpleCanalProperties.CANAL_PREFIX)
@Configuration
public class SimpleCanalProperties extends CanalProperties {

    private String username;

    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
